home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20020314-20021006
/
000334_mdd08512@yahooDOT.com_Wed Sep 4 13:45:58 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
3KB
|
75 lines
Article: 13664 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!logbridge.uoregon.edu!arclight.uoregon.edu!news.tufts.edu!uunet!dca.uu.net!pnj-news-spl!not-for-mail
From: "Michael Di Domenico" <mdd08512@yahooDOT.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: scripting capturing of Cisco ARP tables
Date: Wed, 4 Sep 2002 10:54:03 -0400
Organization: Princeton eCom
Lines: 54
Message-ID: <al56qh$ddu$1@pnj-news-spl.princetonecom.com>
References: <3d6e39ea@yorrell.saard.net> <un2f2ebdp7j0a7@news.supernews.com> <3d721a69@yorrell.saard.net>
NNTP-Posting-Host: pnj-wks-12-105.princetonecom.com
X-Trace: pnj-news-spl.princetonecom.com 1031151249 13758 192.168.12.105 (4 Sep 2002 14:54:09 GMT)
X-Complaints-To: news@princetonecom.com
NNTP-Posting-Date: Wed, 4 Sep 2002 14:54:09 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13664
"Arthur Marsh" <arthur.marsh@adelaide.edu.au> wrote in message
news:3d721a69@yorrell.saard.net...
> Thanks, I'll try that. I have been asked to use SNMP to get the
> information rather than telnet but Kermit makes it so easy (-:.
>
> Arthur.
>
> those who know me have no need of my name wrote:
> > in comp.protocols.kermit.misc i read:
> >
> >
> >>Hi, I've been out of practice with writing Kermit scripts and want to
> >>do the following:
> >>
> >>Given one series of IP addresses:
> >>
> >>telnet to each IP address in turn,
> >>
> >>send a:
> >>
> >>show arp
> >>
> >>command
> >>
> >>and send a space character as long as a "More" prompt appears
> >
> >
> > fyi: send a ``term len 0'' before the ``show arp'', then it won't pause.
> > if the session is to be left dangling you can send a ``term len 24''
after
> > you've coped with the arp output.
> >
>
What's so hard about snmp? Using the UCD-SNMP package, you can simply type
the command below and get a list of all the ARP entries in the arp table.
Kermit is great, but getting info from routers through snmp is so much
easier and much less network load.
snmpwalk <host> <community> at.atTable.atEntry.atPhysAddress
at.atTable.atEntry.atPhysAddress.2.1.192.168.10.1 = Hex: 00 50 54 FF 2C 39
at.atTable.atEntry.atPhysAddress.2.1.192.168.10.9 = Hex: 08 00 20 AD D7 9E
at.atTable.atEntry.atPhysAddress.2.1.192.168.10.10 = Hex: 08 00 20 AE 5C 08
at.atTable.atEntry.atPhysAddress.2.1.192.168.10.17 = Hex: 00 01 42 32 ED 27
at.atTable.atEntry.atPhysAddress.2.1.192.168.10.18 = Hex: 08 00 20 AE 5C 08
at.atTable.atEntry.atPhysAddress.2.1.192.168.10.19 = Hex: 08 00 20 AD D7 9E
at.atTable.atEntry.atPhysAddress.2.1.192.168.10.41 = Hex: 08 00 20 B1 93 B3